package org.ch03.test00.lx01.demo02;

/**
 * @author ZQX
 * @date 2025-03-26
 */
public class MainTest02 {
    public static void main(String[] args) {
        // 实例化泛型类对象，并指定具体的数据类型
        People<Tree> ls = new People<>();

        Tree t = new Tree();
        ls.setPet(t);

        ls.shopping();
    }
}
